#ifndef __MONSTER_H_
#define __MONSTER_H_

#include "Scene.h"
#include <MyString.h>
#include <DynamicArray.h>
struct Monster
{
    MyStr name;
    int HP;
    int ATK;
<<<<<<< HEAD
    int DEF;
=======
>>>>>>> c412670cb91f5a48c84219f2f6837419b34335e7
    int x;
    int y;
    int exp;
    int golden;
<<<<<<< HEAD
    char *symbol;
};
typedef struct Monster monster;

monster * CreateMonster(const char *name,int HP,int ATK,int DEF,char *symbol,int exp,int golden);
void FreeMonster(void *ptr);
void SetMosters(DArray *ms);
void SetMonsterPosition(DArray *ms,char *(*map)[MAPSZIE]);
=======
    char symbol;
};
typedef struct Monster monster;

monster * CreateMonster(const char *name,int HP,int ATK,char symbol,int exp,int golden);
void FreeMonster(void *ptr);
void SetMosters(DArray *ms);
void SetMonsterPosition(DArray *ms,char (*map)[MAPSZIE]);
>>>>>>> c412670cb91f5a48c84219f2f6837419b34335e7
monster * GetMonsterByPosition(DArray *ms,int x,int y);

#endif